﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BlogControl.ascx.cs"
    Inherits="EHTWebsiteProject.Controls.BlogControl" %>
<h3 style="padding-top:10px;">
Kiến thức website
    </h3>
<asp:Repeater ID="rpDanhMucBlog" runat="server">
    <HeaderTemplate>
        <ul>
    </HeaderTemplate>
    <ItemTemplate>
        <li>
            <img src="/Templates/images/category.png" width="10px" height="10px" alt='<%#Eval("TenDanhMucTinTucVN") %>'>
            <a href="/tin-tuc/<%#Eval("DanhMucTinTucID")%>/<%#FormatStringForUrl(DataBinder.Eval(Container.DataItem, "TenDanhMucTinTucVN").ToString())%>.aspx">
                <% if (IsVN == true) {%>
                    <%#Eval("TenDanhMucTinTucVN")%>
                <%} else { %>
                  <%#Eval("TenDanhMucTinTucOther")%>
                <%} %>
            </a> 
       </li>
    </ItemTemplate>
    <FooterTemplate>
        </ul>
    </FooterTemplate>
</asp:Repeater>
<div style="clear: both;">
</div>
